import { get } from '@/utils/request'
import type { Table } from './modal'

export default {
  /**
   * 获取数据
   */
  getTable(data: { pageNum: number; pageSize: number; name: string }) {
    return get<Table[]>('/users/select', data)
  },
}
